{% load staticfiles %}
<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <title>系统名</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="renderer" content="webkit">
  <link rel="stylesheet" type="text/css" href="{% static 'font-awesome/css/font-awesome.min.css' %}" />
  <script type="text/javascript" src="{% static 'js/public/jquery-1.11.3.min.js' %}"></script>
  {% block extralmedias %} {% endblock %}
</head>
<body>
  <header>
    <!-- 菜单栏 start -->
    <div class="nav header">
      <ul>
      {% for menu in MENU_LIST %}
        {% if menu.valid %}
        <li{% if menu.active %} class="active"{% endif %}>
          <a{% if menu.url %} href="{% url menu.url %}"{% endif %}>{{menu.name}}</a>
          {% if menu.children %}
          <ul>
            {% for second_menu in menu.children %}
              {% if second_menu.valid %}
              <li{% if second_menu.active %} class="active"{% endif %}><a href="{% url second_menu.url %}"><i></i>{{second_menu.name}}</a></li>
              {% endif %}
            {% endfor %}
          </ul>
          {% endif %}
        </li>
        {% endif %}
      {% endfor %}
      </ul>
    </div>
    <!-- 菜单栏 end -->
    <div class="header-right">
      <ul>
        <li><a href="{% url 'logout_view' %}"><i class="fa fa-sign-out"></i>&nbsp;注销</a></li>
      </ul>
    </div>
  </header>
  <!-- 继承内容 start -->
  {% block content %} {% endblock %}
  <!-- 继承内容 end -->
  <div class="modal none fade in" id="common_modal">
    <input type="hidden" name="id" id="common_id" autocomplete="off" />
    <input type="hidden" name="url" id="common_url" autocomplete="off" />
    <input type="hidden" name="url" id="common_idname" autocomplete="off" />
    <input type="hidden" name="val" id="common_val" autocomplete="off" />
    <h3></h3>
    <h4></h4>
    <div class="buttons">
        <button class="btn" onclick="common_sure();">确定</button>
        <button class="btn white_btn" data-dismiss="modal">取消</button>
    </div>
  </div>
</body>

<script type="text/javascript" src="{% static 'js/main.js' %}"></script>
{% block endmedias %} {% endblock %}
</html>
